package com.example.demo.mapper;

import com.example.demo.pojo.Rule;
import java.util.List;

public interface RuleMapper {
    void saveRule(Rule rule); // 返回影响的行数
    void updateRule(Rule rule);
    void deleteRule(Integer id);
    List<Rule> getAllRules();
}